{{"{% extends '::base.html.twig' %} "}}
{{"{% block module_name %}"}}{{ entity }}{{"{% endblock %}"}}
{{"{% block title %}"}}{{ entity }}{{" :: Editar{% endblock %}

{% block body %}"}}
<h2>{{ entity }} :: Editar</h2>
<div class="widget_inside records_list">
    <div class="form">
        <form action="{{ "{{ path('"~ route_name_prefix ~"_update', { 'id': entity.id }) }}" }}" method="post" {{ "{{ form_enctype(edit_form) }}" }} id="formID">
            {{ "{{ form_widget(edit_form) }}" }}
            <div class="clearfix grey-highlight"> 
                <div class="input no-label">
                    <button type="submit" class="button blue">Guardar</button>
                </div>
            </div>
        </form>
        <script>
        $(document).ready(function(){
            $("#formID").validationEngine('attach');
           });
        </script>
    </div>
    <div class="margin_top_15 right">
        {% set hide_edit, hide_delete, hide_back = true, false, false %}
        {% include 'views/others/record_actions.html.twig' %}
    </div>
</div>
{{"{% endblock %}"}}